package com.studyyang.springbootmq.entity;

import java.io.Serializable;

/**
 * 员工
 *
 * @Author yangjin
 * @Description
 * @Date 2021/11/1/22:05
 **/
public class Employee implements Serializable {

    String empNo;
    String name;
    Integer age;

    public Employee() {
    }

    public Employee(String empNo, String name, Integer age) {
        this.empNo = empNo;
        this.name = name;
        this.age = age;
    }

    public String getEmpNo() {
        return empNo;
    }

    public void setEmpNo(String empNo) {
        this.empNo = empNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "\"{"+"empNo:"+this.empNo+",name:"+this.name+",age:"+this.age+"}\"";
    }
}
